home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 282_01 / walclock.dat < prev    next >
Text File  |  1989-01-11  |  15KB  |  173 lines

  1. /*
  2. DESCRIPTION:    "Look-up table for WALCLOCK.";
  3. FILENAME:    WALCLOCK.DAT;
  4. SEE-ALSO:    WALCLOCK.C;
  5.  */
  6.  
  7. /*
  8.  
  9. This file is the look-up table that provides WALCLOCK with the end
  10. coordinates of the clock hands. It is used only if NOMATH is defined
  11. in WALCLOCK.C. Otherwise WALCLOCK calculates these figures on-the-fly,
  12. which is very time consuming, and probably can be done in the time
  13. available only if a floating-point unit is available at run time.
  14.  
  15. This file is used at compile time. It is not used at run time.
  16.  
  17. */
  18.  
  19. int hlong[360] = {
  20.     360,363,366,369,373,376,379,382,386,389,392,395,398,402,405,408,411,414,417,421,424,427,430,433,436,
  21.     439,442,445,448,450,453,456,459,462,464,467,470,472,475,477,480,483,485,487,490,492,494,497,499,501,
  22.     503,505,507,509,511,513,515,517,519,520,522,523,525,527,528,529,531,532,533,535,536,537,538,539,540,
  23.     541,541,542,543,544,544,545,545,546,546,546,547,547,547,547,547,547,547,547,547,546,546,546,545,545,
  24.     544,544,543,542,541,541,540,539,538,537,536,535,533,532,531,529,528,527,525,523,522,520,519,517,515,
  25.     513,511,509,507,505,503,501,499,497,494,492,490,487,485,483,480,477,475,472,470,467,464,462,459,456,
  26.     453,450,448,445,442,439,436,433,430,427,424,421,417,414,411,408,405,402,398,395,392,389,386,382,379,
  27.     376,373,369,366,363,360,357,354,351,347,344,341,338,334,331,328,325,322,318,315,312,309,306,303,299,
  28.     296,293,290,287,284,281,278,275,272,270,267,264,261,258,256,253,250,248,245,243,240,237,235,233,230,
  29.     228,226,223,221,219,217,215,213,211,209,207,205,203,201,200,198,197,195,193,192,191,189,188,187,185,
  30.     184,183,182,181,180,179,179,178,177,176,176,175,175,174,174,174,173,173,173,173,173,173,173,173,173,
  31.     174,174,174,175,175,176,176,177,178,179,179,180,181,182,183,184,185,187,188,189,191,192,193,195,197,
  32.     198,200,201,203,205,207,209,211,213,215,217,219,221,223,226,228,230,233,235,237,240,243,245,248,250,
  33.     253,256,258,261,264,267,270,272,275,278,281,284,287,290,293,296,299,303,306,309,312,315,318,322,325,
  34.     328,331,334,338,341,344,347,351,354,357
  35. };
  36. int vlong[360] = {
  37.     49,50,50,50,50,50,50,50,51,51,51,52,52,53,53,54,54,55,56,56,57,58,59,59,60,
  38.     61,62,63,64,65,66,67,68,70,71,72,73,75,76,77,79,80,82,83,85,86,88,89,91,92,
  39.     94,96,98,99,101,103,105,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,
  40.     142,144,146,149,151,153,155,157,159,161,164,166,168,170,172,174,176,178,180,182,184,187,189,191,193,
  41.     195,197,199,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,243,
  42.     245,247,249,250,252,254,256,257,259,260,262,263,265,266,268,269,271,272,273,275,276,277,278,280,281,
  43.     282,283,284,285,286,287,288,289,289,290,291,292,292,293,294,294,295,295,296,296,297,297,297,298,298,
  44.     298,298,298,298,298,299,298,298,298,298,298,298,298,297,297,297,296,296,295,295,294,294,293,292,292,
  45.     291,290,289,289,288,287,286,285,284,283,282,281,280,278,277,276,275,273,272,271,269,268,266,265,263,
  46.     262,260,259,257,256,254,252,250,249,247,245,243,242,240,238,236,234,232,230,228,226,224,222,220,218,
  47.     216,214,212,210,208,206,204,202,199,197,195,193,191,189,187,184,182,180,178,176,174,172,170,168,166,
  48.     164,161,159,157,155,153,151,149,146,144,142,140,138,136,134,132,130,128,126,124,122,120,118,116,114,
  49.     112,110,108,106,105,103,101,99,98,96,94,92,91,89,88,86,85,83,82,80,79,77,76,75,73,
  50.     72,71,70,68,67,66,65,64,63,62,61,60,59,59,58,57,56,56,55,54,54,53,53,52,52,
  51.     51,51,51,50,50,50,50,50,50,50
  52. };
  53. int hshort[1440] = {
  54.     360,360,360,361,361,362,362,363,363,364,364,365,365,366,366,367,367,368,368,369,369,370,370,371,371,
  55.     372,372,373,373,374,374,375,375,376,376,377,377,378,378,379,379,380,380,380,381,381,382,382,383,383,
  56.     384,384,385,385,386,386,387,387,388,388,389,389,390,390,391,391,391,392,392,393,393,394,394,395,395,
  57.     396,396,397,397,398,398,398,399,399,400,400,401,401,402,402,403,403,403,404,404,405,405,406,406,407,
  58.     407,407,408,408,409,409,410,410,411,411,411,412,412,413,413,414,414,414,415,415,416,416,417,417,417,
  59.     418,418,419,419,420,420,420,421,421,422,422,422,423,423,424,424,424,425,425,426,426,426,427,427,428,
  60.     428,428,429,429,430,430,430,431,431,431,432,432,433,433,433,434,434,434,435,435,436,436,436,437,437,
  61.     437,438,438,438,439,439,439,440,440,440,441,441,441,442,442,442,443,443,443,444,444,444,445,445,445,
  62.     446,446,446,447,447,447,448,448,448,448,449,449,449,450,450,450,451,451,451,451,452,452,452,452,453,
  63.     453,453,454,454,454,454,455,455,455,455,456,456,456,456,457,457,457,457,458,458,458,458,459,459,459,
  64.     459,460,460,460,460,460,461,461,461,461,461,462,462,462,462,462,463,463,463,463,463,464,464,464,464,
  65.     464,465,465,465,465,465,465,466,466,466,466,466,466,466,467,467,467,467,467,467,468,468,468,468,468,
  66.     468,468,468,469,469,469,469,469,469,469,469,469,470,470,470,470,470,470,470,470,470,470,470,471,471,
  67.     471,471,471,471,471,471,471,471,471,471,471,471,471,471,472,472,472,472,472,472,472,472,472,472,472,
  68.     472,472,472,472,472,472,472,472,472,472,472,472,472,472,472,472,472,472,472,472,472,472,472,472,472,
  69.     472,472,472,472,472,472,472,471,471,471,471,471,471,471,471,471,471,471,471,471,471,471,471,470,470,
  70.     470,470,470,470,470,470,470,470,470,469,469,469,469,469,469,469,469,469,468,468,468,468,468,468,468,
  71.     468,467,467,467,467,467,467,466,466,466,466,466,466,466,465,465,465,465,465,465,464,464,464,464,464,
  72.     463,463,463,463,463,462,462,462,462,462,461,461,461,461,461,460,460,460,460,460,459,459,459,459,458,
  73.     458,458,458,457,457,457,457,456,456,456,456,455,455,455,455,454,454,454,454,453,453,453,452,452,452,
  74.     452,451,451,451,451,450,450,450,449,449,449,448,448,448,448,447,447,447,446,446,446,445,445,445,444,
  75.     444,444,443,443,443,442,442,442,441,441,441,440,440,440,439,439,439,438,438,438,437,437,437,436,436,
  76.     436,435,435,434,434,434,433,433,433,432,432,431,431,431,430,430,430,429,429,428,428,428,427,427,426,
  77.     426,426,425,425,424,424,424,423,423,422,422,422,421,421,420,420,420,419,419,418,418,417,417,417,416,
  78.     416,415,415,414,414,414,413,413,412,412,411,411,411,410,410,409,409,408,408,407,407,407,406,406,405,
  79.     405,404,404,403,403,403,402,402,401,401,400,400,399,399,398,398,398,397,397,396,396,395,395,394,394,
  80.     393,393,392,392,391,391,391,390,390,389,389,388,388,387,387,386,386,385,385,384,384,383,383,382,382,
  81.     381,381,380,380,380,379,379,378,378,377,377,376,376,375,375,374,374,373,373,372,372,371,371,370,370,
  82.     369,369,368,368,367,367,366,366,365,365,364,364,363,363,362,362,361,361,360,360,360,360,360,359,359,
  83.     358,358,357,357,356,356,355,355,354,354,353,353,352,352,351,351,350,350,349,349,348,348,347,347,346,
  84.     346,345,345,344,344,343,343,342,342,341,341,340,340,340,339,339,338,338,337,337,336,336,335,335,334,
  85.     334,333,333,332,332,331,331,330,330,329,329,329,328,328,327,327,326,326,325,325,324,324,323,323,322,
  86.     322,322,321,321,320,320,319,319,318,318,317,317,317,316,316,315,315,314,314,313,313,313,312,312,311,
  87.     311,310,310,309,309,309,308,308,307,307,306,306,306,305,305,304,304,303,303,303,302,302,301,301,300,
  88.     300,300,299,299,298,298,298,297,297,296,296,296,295,295,294,294,294,293,293,292,292,292,291,291,290,
  89.     290,290,289,289,289,288,288,287,287,287,286,286,286,285,285,284,284,284,283,283,283,282,282,282,281,
  90.     281,281,280,280,280,279,279,279,278,278,278,277,277,277,276,276,276,275,275,275,274,274,274,273,273,
  91.     273,272,272,272,272,271,271,271,270,270,270,269,269,269,269,268,268,268,268,267,267,267,266,266,266,
  92.     266,265,265,265,265,264,264,264,264,263,263,263,263,262,262,262,262,261,261,261,261,260,260,260,260,
  93.     260,259,259,259,259,259,258,258,258,258,258,257,257,257,257,257,256,256,256,256,256,255,255,255,255,
  94.     255,255,254,254,254,254,254,254,254,253,253,253,253,253,253,252,252,252,252,252,252,252,252,251,251,
  95.     251,251,251,251,251,251,251,250,250,250,250,250,250,250,250,250,250,250,249,249,249,249,249,249,249,
  96.     249,249,249,249,249,249,249,249,249,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,
  97.     248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,248,
  98.     248,248,249,249,249,249,249,249,249,249,249,249,249,249,249,249,249,249,250,250,250,250,250,250,250,
  99.     250,250,250,250,251,251,251,251,251,251,251,251,251,252,252,252,252,252,252,252,252,253,253,253,